import base
import datetime
from chart_web import models


def Run():
    exits = models.PricePolicy.objects.filter(category=1, title='青春无敌版').exists()
    if not exits:
        # 创建免费版本
        models.PricePolicy.objects.create(
            title='青春无敌版',
            price=0,
        )

if __name__ == '__main__':
    Run()
